﻿<UserControl xmlns:sdk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  xmlns:my1="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"  
             xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"  
             xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"  
             x:Class="StrategyMap.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:UC="clr-namespace:StrategyMap"
    xmlns:controls="clr-namespace:SilverlightControls"
    mc:Ignorable="d"
    d:DesignHeight="800" d:DesignWidth="900" Background="Aqua" BorderBrush="#FFF54710">

    <!-- <Grid x:Name="LayoutRoot" Background="White">
       <ListBox Height="100" HorizontalAlignment="Left" Margin="84,108,0,0" Name="listBox1" VerticalAlignment="Top" Width="120" />
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="84,50,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="224,65,0,0" Name="textBlock1" Text="TextBlock" VerticalAlignment="Top" />
<my:DataGrid />
        <my:DataGrid AutoGenerateColumns="True"  HorizontalAlignment="Left" Margin="238,115,0,0" Name="dataGrid1" VerticalAlignment="Top"  />

    </Grid>-->
	<Grid x:Name="grdLayoutRoot" Background="White" Width="900" Height="850" ShowGridLines="True">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="*" ></RowDefinition>     	
			</Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="200"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <!--<toolkit:BusyIndicator x:Name="bi"  Grid.Row="0" Grid.Column="0" />
        <Button Content="busy" x:Name="busy" Canvas.Left="30" Click="busy_Click" Grid.Row="0" Grid.Column="0"></Button>-->
        <!--<Button  Content="Save" Height="23" Name="ButtonSaveNodes" Width="75" Click="ButtonSaveNodes_Click" Grid.Row="0" Grid.Column="0"/>-->
        
        
	
	<!--<DataArtist:Map x:Name="Map1"  Grid.Row="0" Grid.Column="0"/>-->
        <UC:Map x:Name="Map1"  Grid.Row="0" Grid.Column="0"  />
        <toolkit:WrapPanel Grid.Column="1" Height="384" VerticalAlignment="Top" Margin="10,10,10,0" >
        	<TextBlock  TextWrapping="Wrap" Text="Node/Arrow Details" Width="185" FontWeight="Bold" TextAlignment="Center" Height="16" />
            <TextBlock x:Name="ID" TextWrapping="Wrap" Text="" Width="150" Visibility="Collapsed"/>
            <TextBlock x:Name="Type" TextWrapping="Wrap" Text="" Width="150" Visibility="Collapsed"/>
        	<TextBlock x:Name="Name" Height="20" TextWrapping="Wrap" Text="Name" Width="159"/>
        	<TextBlock x:Name="CurrentName" Height="20" TextWrapping="Wrap" Text="CurrentName" Width="150"/>
        	<TextBlock x:Name="Description" Height="19" TextWrapping="Wrap" Text="Description" Width="106"/>
        	<TextBox x:Name="CurrentDescription" Height="115"  TextWrapping="Wrap" Text="CurrentDescription" Width="174"/>

            <!--<toolkit:Expander  >-->
                
                <!--<my1:NumericUpDown x:Name="num"  Value="0" ValueChanged="num_ValueChanged"  />
            </toolkit:Expander>-->
            <Button x:Name="ButtonSaveDetails" Content="Save" Width="75" Height="20" />
            <Button x:Name="ButtonDelete" Content="Delete" Width="75" Height="20" Click="ButtonDelete_Click" />

            <toolkit:Expander Height="139" Width="180" Header="Visual Properties">
                <Grid Height="114" HorizontalAlignment="Stretch" Name="grid1" VerticalAlignment="Stretch" Width="178">
                    
                    <TextBlock x:Name="BendAmount" TextWrapping="Wrap" Text="Bend Amount" Margin="0,3,0,0" Height="20" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" />
                    <Slider Height="23" Name="sliderBend" Width="100" Margin="78,-1,0,91"  
                             HorizontalAlignment="Center" VerticalAlignment="Center"  />
                    <sdk:Label x:Name="LabelTextColor" />
                    <controls:ColorPicker x:Name="CP" Margin="9,39,20,50" ColorChanged="CP_ColorChanged"  >
                        
                    </controls:ColorPicker>
                </Grid>
                
            </toolkit:Expander>
            
            <Button Content="Load Nodes" Height="23" Name="button1" Width="75" Click="button1_Click" />
            <Button Content="Save Strategy Map" Height="23" Name="button2" Width="75" Click="button2_Click" />
        </toolkit:WrapPanel>
        
        
     
        <TextBlock x:Name="Test" Text="Test: " Foreground="#FF4672E0" Grid.Column="1" Margin="10,452,16,378"></TextBlock>
        <!--<controls:ColorPicker x:Name="CP" Color="Red" ColorChanged="CP_ColorChanged" Grid.Column="1" Margin="46,219,12,594"></controls:ColorPicker>-->
    </Grid>

    
</UserControl>
